<?php
namespace app\backend\model;

use think\Config;
use think\Db;
use think\Loader;
use think\Model;
use traits\model\SoftDelete;
use app\backend\org\Recursion;

class Account extends Model
{
    //部门查询列表
    protected $table = 'ls_account';
    public function getAll()
    {
        $data=$this
            ->field('account_id,username,password')
            ->where(["delete_time"=>['exp','is null']])
            ->select()
        ;
        return $data;
    }

    use SoftDelete;
    static protected $deleteTime = 'delete_time';


}